package org.suk.dp.builder;

/**
 * Description:具体建造者类2 <br/>
 * @version V1.0  2017/6/20 20:31  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public class ConcreteBuilder2 extends Builder{
    private Product product = new Product();

    @Override
    void buildPart1() {
        this.product.add("部件A");
    }

    @Override
    void buildPart2() {
        this.product.add("部件B");
    }

    @Override
    Product getResult() {
        return this.product;
    }

}
